<html>
<body>
<p>Reports the definitions with a <code>@targetName</code> annotation that override definitions without <code>@targetName</code> annotation.</p>

<p>See <a href="https://docs.scala-lang.org/scala3/reference/other-new-features/targetName.html">The @targetName annotation</a>.</p>

<p>The quick-fix removes <code>@targetName</code> annotation.</p>

<p><b>Example:</b></p>
<pre><code>
  class A:
    def foo: Int = 1

  class B extends A:
    @targetName("overriddenFoo")
    override def foo: Int = 2
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  class A:
    def foo: Int = 1

  class B extends A:
    override def foo: Int = 2
</code></pre>
<!-- tooltip end -->
</body>
</html>
